# $Id: PKGBUILD 65596 2012-02-21 09:23:24Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: insulae <insulae@gmail.com>

pkgname=hex-a-hop
pkgver=1.1.0
pkgrel=3
pkgdesc='Hex-a-hop is a puzzle game based on hexagonal tiles'
arch=('i686' 'x86_64')
url='http://hexahop.sourceforge.net/'
license=('GPL')
depends=('sdl_mixer' 'sdl_ttf' 'gcc-libs')
makedepends=()
options=()
source=("http://downloads.sourceforge.net/project/hexahop/$pkgver/hex-a-hop-$pkgver.tar.gz"
	"hex-a-hop.desktop")
md5sums=('cc8d065c2cc0fce9e08852b8c465175e'
         '048ff7975024ae1eda3164620f594c09')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make install DESTDIR=${pkgdir}
  install -Dm0644 $srcdir/hex-a-hop.desktop $pkgdir/usr/share/applications/hex-a-hop.desktop
}
